<?php
/**
 * Created by Think cli.
 * Date: 2019-04-17 09:04:51
 */
namespace app\Lib\Model\DbModel;

use think\Model;

class Img extends Model
{


   /*
    * [备注信息:]
    * [数据类型:bigint]
    * [默认值:]
    */
   public $_id = "id";


   /*
    * [备注信息:用户id]
    * [数据类型:bigint]
    * [默认值:0]
    */
   public $_uid = "uid";


   /*
    * [备注信息:文件大小,单位B]
    * [数据类型:bigint]
    * [默认值:0]
    */
   public $_file_size = "file_size";


   /*
    * [备注信息:上传时间]
    * [数据类型:int]
    * [默认值:0]
    */
   public $_create_time = "create_time";


   /*
    * [备注信息:状态;1:可用,0:不可用]
    * [数据类型:tinyint]
    * [默认值:1]
    */
   public $_status = "status";


   /*
    * [备注信息:下载次数]
    * [数据类型:int]
    * [默认值:0]
    */
   public $_download_num = "download_num";


   /*
    * [备注信息:文件惟一码]
    * [数据类型:varchar]
    * [默认值:]
    */
   public $_file_key = "file_key";


   /*
    * [备注信息:文件名]
    * [数据类型:varchar]
    * [默认值:]
    */
   public $_filename = "filename";


   /*
    * [备注信息:文件路径,相对于upload目录,可以为url]
    * [数据类型:varchar]
    * [默认值:]
    */
   public $_file_path = "file_path";


   /*
    * [备注信息:文件md5值]
    * [数据类型:varchar]
    * [默认值:]
    */
   public $_file_md5 = "file_md5";


   /*
    * [备注信息:]
    * [数据类型:varchar]
    * [默认值:]
    */
   public $_file_sha1 = "file_sha1";


   /*
    * [备注信息:文件后缀名,不包括点]
    * [数据类型:varchar]
    * [默认值:]
    */
   public $_suffix = "suffix";


   /*
    * [备注信息:其它详细信息,JSON格式]
    * [数据类型:text]
    * [默认值:]
    */
   public $_more = "more";


}